
import { useState, useCookie } from "nuxt/app";

//示例：（使用命名导出）
export const userLangeages = () => {
  const langages = useCookie('lang')
  langages.value = langages.value || 'cn'
  return useState('userLang', () => langages.value)
}

